package com.feng.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.feng.domain.ResponseResult;
import com.feng.domain.dto.AdminAddCategoryDto;
import com.feng.domain.dto.AdminCategoryDto;
import com.feng.domain.entity.Category;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 分类表(Category)表服务接口
 *
 * @author makejava
 * @since 2023-04-13 20:08:02
 */
public interface CategoryService extends IService<Category> {

    ResponseResult getCategory();

    ResponseResult listAllCategory();

    ResponseResult getList(Integer pageNum, Integer pageSize, String name, String status);

    ResponseResult addCategory(AdminAddCategoryDto categoryDto);

    ResponseResult getUpdateList(Long id);

    ResponseResult updateCategory(AdminCategoryDto categoryDto);

    ResponseResult delCategory(List<Long> ids);
}

